import Layout from '@/layout'

export default { path: '/departments', component: Layout,
  children: [{
    // 组织架构 如果自己路由,path设置为空'',那么会自动匹配
    path: '',
    name: 'departments',
    component: () => import('@/views/departments/departments.vue'),
    // 设置在左侧菜单显示标题和图标
    meta: { title: '组织架构', icon: 'tree' }
  }]
}

